<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>图片放大</title>
    <style>
        .box {
            overflow: hidden;
            float: left;
            margin: 20px;
        }
        
        img {
            transition: all .5s ease;
        }
        
        .box img:hover {
            transform: scale(1.2);
        }
    </style>

</head>

<body>
    <div class="box">
        <img src="https://i2.hdslb.com/bfs/archive/8bc48e8bd2334912389977dd160140e44b3752fd.jpg@257w_145h_1c_100q.webp" alt="">
    </div>


    <div class="box">
        <a href="#"><img src="https://i2.hdslb.com/bfs/archive/8bc48e8bd2334912389977dd160140e44b3752fd.jpg@257w_145h_1c_100q.webp" alt=""></a>
    </div>

    <div class="box">
        <a href="#"><img src="https://i2.hdslb.com/bfs/archive/8bc48e8bd2334912389977dd160140e44b3752fd.jpg@257w_145h_1c_100q.webp" alt=""></a>
    </div>

</body>

</html>